package com.gxa.controller.zhy;

import io.swagger.annotations.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 * User: 赵贺益
 * Date: 2021/12/02 15:45
 * Description:
 * Version: V1.0
 */
@Controller
@Api(value ="用于动态生成左侧菜单" ,tags = "主界面的接口")
@RequestMapping("/queryMainInterface")
public class MainInterfaceController {
//     @RequestMapping(value ="verifyUserAndVercode" ,method = RequestMethod.POST)
//     @ResponseBody
//     @ApiOperation(value = "登录接口",notes = "获取到的就是一个对象",httpMethod = "POST", response = ResponseData.class)
//     @ApiImplicitParams({
//             @ApiImplicitParam(name = "username",value = "登录的账号" ,required = true,paramType = "query"),
//             @ApiImplicitParam(name = "user_password",value = "登录账号的密码",required =true,paramType ="query"),
//             @ApiImplicitParam(name = "vercode",value = "输入的验证码",required = true,paramType = "query")
//     })
//     @ApiResponses({
//             @ApiResponse(code=200,message = "登录成功"),
//             @ApiResponse(code =401,message = "验证码错误"),
//             @ApiResponse(code=501,message = "账号密码错误"),
//             @ApiResponse(code = 500,message = "后台服务错误")
//     })


//     public List<Permission> queryPermissionbyrole_id(){
//
//
//     }


}
